package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;


public interface SetmealDao {
    //添加套餐
    void add(Setmeal setmeal);

    //添加套餐和检查组关联
    void setMealAndCheckGroup(Map map);

    Page<Setmeal> selectByCondition(String queryString);

    //查询所有
    public List<Setmeal> findAll();

    public Setmeal findById(int id);

    public Setmeal findSetmealById(int id);

    List<Map<String,Object>> findSetmealCount();
}
